libxl: check for transaction abortion failure in libxl_set_memory_target
authorMatthew Daley <mattjd@gmail.com>
Wed, 30 Oct 2013 07:51:48 +0000 (20:51 +1300)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 31 Oct 2013 21:55:51 +0000 (21:55 +0000)
commit5bc3a84608de002853048ea1f36c73fbb1304154
tree242d6f770c722e5b781634948d80fcd270e99911
parentd6dea2f6ab0f3724bd6c23d7004913aef2fd8cf2
libxl: check for transaction abortion failure in libxl_set_memory_target

While at it, correct the error handling of libxl__fill_dom0_memory_info;
at that point there is no transaction to end in any manner.

Coverity-ID: 1055046
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl.c